package com.crm.dao.mapper.couponManager;

import com.crm.model.entity.couponManager.CustomerContractCoupon;
import com.crm.model.entity.couponManager.CustomerContractCouponExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CustomerContractCouponMapper {
    long countByExample(CustomerContractCouponExample example);

    int deleteByExample(CustomerContractCouponExample example);

    int deleteByPrimaryKey(String contractCouponId);

    int insert(CustomerContractCoupon record);

    int insertSelective(CustomerContractCoupon record);

    List<CustomerContractCoupon> selectByExample(CustomerContractCouponExample example);

    CustomerContractCoupon selectByPrimaryKey(String contractCouponId);

    int updateByExampleSelective(@Param("record") CustomerContractCoupon record, @Param("example") CustomerContractCouponExample example);

    int updateByExample(@Param("record") CustomerContractCoupon record, @Param("example") CustomerContractCouponExample example);

    int updateByPrimaryKeySelective(CustomerContractCoupon record);

    int updateByPrimaryKey(CustomerContractCoupon record);
}